package com.freight.msg.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.freight.core.base.FreightBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * @author huyingtai
 */
@Data
@Entity
@DynamicInsert
@DynamicUpdate
@Table(name = "msg_cust_mess")
@TableName("msg_cust_mess")
@ApiModel(value = "咨询与投诉自助问答详细信息")
public class MsgCustMess extends FreightBaseEntity {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "问答类目id")
    private Long msgCustCategoryId;

    @ApiModelProperty(value = "问题")
    private String custMess;

    @ApiModelProperty(value = "解答")
    private String replayMess;

    @ApiModelProperty(value = "排序")
    private Integer sort;




}